<div ng-controller='MoneyIndex' class='right-cont'>
    <div class='title'>
        <i class='fa fa-list-ul'></i>
        积分产出{{test}}
    </div>

    <div class='box-cont'>
        <div>

            <div class='input-group input-group-xs pull-right radius' style="margin-right: 10px;">

                    <span class='input-group-addon' style='border-right:none'>
                        <i class='fa fa-calculator'></i>
                    </span>
                <input type='text' class='form-control input-w-xs date' ng-model='startDate' style="width: 150px">
                <span class='input-group-addon' style='border-left:none;border-right:none'>至</span>
                <input type='text' class='form-control input-w-xs date' ng-model='endDate'  style="width: 150px">
                <span class='input-group-btn'>
                    <button class='btn btn-success radius' ng-click='search_data()'>搜索</button>
                </span>
            </div>

            <div class='box-fr' style="margin-right: 10px;">
                <div class='input-group input-group-xs pull-right radius'>
                    <input type='text' class='form-control input-w-xs radius' ng-model='nickname' placeholder='请输入用户昵称或ID'>
                </div>
                <div class='input-group input-group-xs pull-right radius' style="width: 80px;margin-right: 10px; border-right: 1px solid #F8F9FD">
                    <input type='text' class='form-control input-w-xs radius' ng-model='course' placeholder='课程'>
                </div>
                <div class='input-group input-group-xs pull-right radius' style="width: 80px;margin-right: 10px; border-right: 1px solid #F8F9FD">
                    <input type='text' class='form-control input-w-xs radius' ng-model='teacher' placeholder='老师'>
                </div>
                <div class='input-group input-group-xs pull-right radius' style="width: 80px;margin-right: 10px; border-right: 1px solid #F8F9FD">
                    <input type='text' class='form-control input-w-xs radius' ng-model='expand' placeholder='教练'>
                </div>
                <div class='input-group input-group-xs pull-right radius' style="width: 80px;margin-right: 10px; border-right: 1px solid #F8F9FD">
                    <input type='text' class='form-control input-w-xs radius' ng-model='dean' placeholder='合伙人'>
                </div>

            </div>

        </div>
        <div class="member-index-tab">
            <ul id="myTab" class="nav nav-tabs" style="margin-bottom: 10px;">
                <li class="member-index-tabs member-index-tabs-all active" data-role=".member-index-tabs-all"  ng-click="change_load_data(1)">
                    <a href="" data-toggle="tab">
                        当日
                    </a>
                </li>
                <li  class="member-index-tabs member-index-tabs-dean" data-role=".member-index-tabs-dean" ng-click="change_load_data(2)">
                    <a href="" data-toggle="tab">
                        周(7天)
                    </a>
                </li>
                <li  class="member-index-tabs member-index-tabs-expand" data-role=".member-index-tabs-expand"  ng-click="change_load_data(3)">
                    <a href="" data-toggle="tab">
                        月(1月)
                    </a>
                </li>
                <li  class="member-index-tabs member-index-tabs-expand" data-role=".member-index-tabs-expand"  ng-click="change_load_data(4)">
                    <a href="" data-toggle="tab">
                        全部
                    </a>
                </li>
            </ul>
        </div>
        <table class='table table-list wrap-checkbox'>
            <tr class="abcd">
                <td class="member-th-sort" ng-click="toggle(1)">记录ID<i ng-if="sortName == 1"
                                                                       class="fa fa-sort-{{sortIcon}}"></i></td>
                <td>会员ID</td>
                <td>购买人 </td>
                <td>购买课程 </td>
                <td>售价 </td>
                <td>购买价 </td>
                <td>订单号 </td>
                <td>时间 </td>
            </tr>
            <tr ng-repeat='money in moneyList'>
                <td >{{money.id}}</td>
                <td >{{money.user_id}}</td>
                <td class="members-index-userName" ng-click="seeDetails(user.id,user.role_id,user.nextall)">{{money.nickname}}</td>
                <td><span class="score-index-num">{{money.name}}</span></td>
                <td><span class="score-index-num">{{money.price}}</span></td>
                <td><span class="score-index-num">{{money.money_amount}}</span></td>
                <td>{{money.trade_no}}</td>
                <td>{{money.achive_time_txt}}</td>
            </tr>
        </table>

        <div class='box-page' ng-bind-html='pages'></div>

        <!--图标测试-->
        <!--<div id="main" style="width: 600px;height:400px;"></div>-->

    </div>

</div>
